package com.dao;

import exception.TransferException;
import org.apache.ibatis.session.SqlSession;
import pojo.Account;

import java.math.BigDecimal;

public interface AccountDao {
    int updateAccount(BigDecimal balance,String actno);
    int transfer(Account fromActNo, Account toActNo) throws TransferException;
    Account selectAccountByActNo(String actno);
}
